require 'thor'
require 'sunlike'

module Sunlike
  class Cli < Thor
    desc "exec SQL", "执行SQL语句"
    def exec(sql)
      Connect.exec(sql)
    end

    desc "jc NO", "显示借出单概要"
    def jc(no)
      DeliveryOrder.show(no)
    end
  end
end
